home *** CD-ROM | disk | FTP | other *** search
- Subject: Test
- Sent: 9/10/96 4:24 PM
- Received: 9/10/96 4:24 PM
- From: bobc@bcstec.ca.boeing.com (Bob Carpenter)
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- This is my second attempt today to send this message to the list,
- so please excuse me if this is redundant.
-
- In the DR5 version of the Developer's Guide, chapter 4 - "Working With Views"
- describes how to adjust subviews by overriding AdjustSubViews. It uses
- ODFForm as an example. The problem is this is apparently outdated
- because ODFForm's Frame doesn't have an AdjustSubViews method. So,
- I don't understand how the frame adjusts its views. Is it done through
- FrameShapeChanged?
-
- The reason I ask is because I've created a part from the Hello template,
- and then decided I'd like to have subview capability. So, I cloned
- the View class from ODFForm as well as ODFormFrame's CreateSubViews and
- FrameShapeChanged methods. It's working a bit now, but minus any scrollbars.
- And also - this is the main problem - the view of the content seems anchored
- to the growbox; so that the text content goes out of view if you drag the
- frame large enough. When you drag it smaller it comes back into view.
-
- Any ideas on how to fix this up? I can email my editor if my description
- above doesn't make sense.
-
- Thanks.
-
- --
-
- --BobC
-
- Bob Carpenter
- Boeing Commercial Airplanes
- bob.carpenter@boeing.com